Chapter 27: Sensing Viewer Proximity
Table Of Contents
Chapter 27: Sensing Viewer Proximity
Understanding How Viewer Proximity is Sensed
The VisibilitySensor Node Syntax
The ProximitySensor Node Syntax
The Collision Node Syntax
Experimenting with Proximity Sensing
Triggering Animation by Sensing Visibility and Proximity
Figure 27.1
A dungeon door that slides open and closed based on visibility.
Triggering Animation by Sensing Collision
Figure 27.2
A dungeon door that slides open when the viewer collides with it and closed when the viewer walks away.
Using Proxy Shapes for Viewer Detection
Figure 27.3
An orb that animates when the viewer collides with its box proxy shape.